GrayScale

Converts the imaG image to a grayscale image.

Syntax: imaG.GrayScale

If the imaG contains a palettized image, a new palette will be created with a scale of gray colors.

If MODE PROPERTY is NOT caModeDraw then an ERROR will be thrown.

See also Brightness , Contrast , Gamma , Filter